package domain.searchEngine.compass;

import domain.message.Post ;
import domain.searchEngine.IndexAgent ;
import domain.user.Login ;

/**
 * a stub. compass connects directly to the persistence layer and does not need indexing.
 */
public class CompassIndexAgent implements IndexAgent
{
	/**
	 * default constructor.
	 */
	public CompassIndexAgent()
	{
		// empty
	}

	/**
	 * @param login unused.
	 * @see domain.searchEngine.IndexAgent#addNewLoginToIndex(domain.user.Login)
	 */
	@Override
	public void addNewLoginToIndex(final Login login)
	{
		// stub - empty
	}

	/**
	 * @param post unused.
	 * @param userName unused.
	 * @see domain.searchEngine.IndexAgent#addNewPostToIndex(domain.message.Post, java.lang.String)
	 */
	@Override
	public void addNewPostToIndex(final Post post, final String userName)
	{
		// stub - empty
	}

	/**
	 * @param post unused.
	 * @param userName unused.
	 * @see domain.searchEngine.IndexAgent#removePostFromIndex(domain.message.Post, java.lang.String)
	 */
	@Override
	public void removePostFromIndex(final Post post, final String userName)
	{
		// stub - empty
	}
}
